Pod::Spec.new do |spec|
  spec.name         = "CCFoundation"
  spec.version      = "1.1.7"
  spec.summary      = "个人自用库"
  spec.description  = <<-DESC
                    Features:
                    1.个人自用库
                    2.导航栏管理
                    3.闪退的处理
                   DESC
  spec.homepage     = "https://gitee.com/zhoujinhua_xm"
  spec.license      = "MIT"
  spec.author       = { "周金华" => "zhoujinhua_xm@139.com" }
  spec.ios.deployment_target = '9.0'
  spec.source       = { :git => "https://gitee.com/zhoujinhua_xm/CCFoundation.git", :tag => spec.version }
  spec.source_files = 'Foundation/CCFoundation.h'
  spec.resource_bundles = {
    'CCFoundationSources' => ['Foundation/Sources/*.{png,json,svga,xcassets,plist,mp3,gif}'],
  }
  
  spec.subspec 'Category' do |category|
    category.source_files = 'Foundation/Category/*.{h,m}'
  end
  
  spec.subspec 'Proxy' do |proxy|
    proxy.source_files = 'Foundation/Proxy/*.{h,m}'
  end
  
  spec.subspec 'UIKit' do |uikit|
    uikit.dependency 'CCFoundation/Category'
    uikit.source_files = 'Foundation/UIKit/**/*.{h,m}'
    uikit.dependency 'KMNavigationBarTransition',        '~> 1.1.10'
  end
end
